Skip to content

Bump npm to 11.21.0 in the release job - #175

Merged
pomek merged 1 commit into
masterfrom
ci/4783-npm-11.21.0
Oct 1, 2026
Merged

pomek merged 1 commit into
masterfrom
ci/4783-npm-11.21.0

Conversation

@pomek

@pomek pomek commented Oct 1, 2026

Copy link
Copy Markdown
Member

🚀 Summary

Bumps the npm version installed in the release job from 11.19.1 to 11.21.0.

npm 11.21.0 adds OIDC authentication to npm dist-tag add, rm, and ls (npm/cli#10038, fixes npm/cli#8547). Before this version, only npm publish could authenticate with Trusted Publishing. The same release also fixes a bug in npm publish --workspaces where a failed OIDC exchange could reuse the token of the previous package.


📌 Related issues


💡 Additional information

This is an internal CI change, so no changelog entry is required. The next release on this branch validates the change end to end.

@pomek
pomek requested a review from a team as a code owner October 1, 2026 05:23

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 2711a75. Configure here.

Comment thread .circleci/config.yml
- run:
name: Install npm with CircleCI OIDC support
command: sudo npm i -g npm@11.19.1
command: sudo npm i -g npm@11.21.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nonexistent npm version pin

High Severity

The release job installs npm@11.21.0, but that version is not published. The latest 11.x release is 11.19.1, so the global install will fail and block package publishing.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 2711a75. Configure here.

@pomek
pomek merged commit 4eb8634 into master Oct 1, 2026
4 checks passed
@pomek
pomek deleted the ci/4783-npm-11.21.0 branch October 1, 2026 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow Trusted Publishers to run "npm dist-tag add"

2 participants